package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 学生离校对象 tm_student_departure
 *
 * @author ruoyi
 * @date 2024-12-05
 */
public class TmStudentDeparture extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 学号，主键 */
    private Long departureId;

    /** 学号 */
    @Excel(name = "学号")
    private Long studentId;

    /** 学生姓名 */
    @Excel(name = "学生姓名")
    private String studentName;

    /** 专业 */
    @Excel(name = "专业")
    private String major;

    /** 班级 */
    @Excel(name = "班级")
    private String classes;

    /** 离校所去地 */
    @Excel(name = "离校所去地")
    private String leaveSchoolWhere;

    /** 离校时间 */
    @Excel(name = "离校时间")
    private String leaveSchoolWhen;

    /** 离校原因 */
    @Excel(name = "离校原因")
    private String leaveSchoolWhy;

    /** 归校时间 */
    @Excel(name = "归校时间")
    private String goSchoolWhen;

    public void setDepartureId(Long departureId)
    {
        this.departureId = departureId;
    }

    public Long getDepartureId()
    {
        return departureId;
    }
    public void setStudentId(Long studentId)
    {
        this.studentId = studentId;
    }

    public Long getStudentId()
    {
        return studentId;
    }
    public void setStudentName(String studentName)
    {
        this.studentName = studentName;
    }

    public String getStudentName()
    {
        return studentName;
    }
    public void setMajor(String major)
    {
        this.major = major;
    }

    public String getMajor()
    {
        return major;
    }
    public void setClasses(String classes)
    {
        this.classes = classes;
    }

    public String getClasses()
    {
        return classes;
    }
    public void setLeaveSchoolWhere(String leaveSchoolWhere)
    {
        this.leaveSchoolWhere = leaveSchoolWhere;
    }

    public String getLeaveSchoolWhere()
    {
        return leaveSchoolWhere;
    }
    public void setLeaveSchoolWhen(String leaveSchoolWhen)
    {
        this.leaveSchoolWhen = leaveSchoolWhen;
    }

    public String getLeaveSchoolWhen()
    {
        return leaveSchoolWhen;
    }
    public void setLeaveSchoolWhy(String leaveSchoolWhy)
    {
        this.leaveSchoolWhy = leaveSchoolWhy;
    }

    public String getLeaveSchoolWhy()
    {
        return leaveSchoolWhy;
    }
    public void setGoSchoolWhen(String goSchoolWhen)
    {
        this.goSchoolWhen = goSchoolWhen;
    }

    public String getGoSchoolWhen()
    {
        return goSchoolWhen;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("departureId", getDepartureId())
                .append("studentId", getStudentId())
                .append("studentName", getStudentName())
                .append("major", getMajor())
                .append("classes", getClasses())
                .append("leaveSchoolWhere", getLeaveSchoolWhere())
                .append("leaveSchoolWhen", getLeaveSchoolWhen())
                .append("leaveSchoolWhy", getLeaveSchoolWhy())
                .append("goSchoolWhen", getGoSchoolWhen())
                .toString();
    }
}
